package com.factory;

public class AppleFactory extends AbstractFactory {

    @Override
    protected void getFruit() {
        new Apple().getName();
    }
}
